package com.hznu.jspFinal.service;


import com.hznu.jspFinal.dao.UserMapper;
import com.hznu.jspFinal.entity.User;

import java.util.List;

public interface UserService {

    void addOne(User user);

    User findByUserId(Integer id);

    void update(User user);

    void delete(Integer id);

    User findByUsername(String username);

    List<User> findAll();

    List<User> findBatchByCondition(User user);
}
